//
//  HSYWithDrawSuccessViewController.m
//  HSY
//
//  Created by 陈浩 on 2017/4/7.
//  Copyright © 2017年 金开门. All rights reserved.
//

#import "HSYWithDrawSuccessViewController.h"

@interface HSYWithDrawSuccessViewController ()

@property (weak, nonatomic) IBOutlet UILabel *cardNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *amountLabel;
@property (weak, nonatomic) IBOutlet UILabel *counterFeeLabel;
@property (weak, nonatomic) IBOutlet UILabel *arrivalAmountLabel;


@end

@implementation HSYWithDrawSuccessViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.cardNameLabel.text = [NSString stringWithFormat:@"%@ 尾号%@",self.bankName,self.cardNo];
    self.amountLabel.text = [NSString stringWithFormat:@"%@元",self.amount];
    self.counterFeeLabel.text = [NSString stringWithFormat:@"%@元",self.poundage];
    self.arrivalAmountLabel.text = [NSString stringWithFormat:@"%@元",self.arrivalAmount];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)commit:(id)sender {
    [self.navigationController popToRootViewControllerAnimated:YES];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
